<?php
echo '<?xml version="1.0" encoding="UTF-8" ?>';
echo $this->doctype();
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<?= $this->loadSkin($this->skin); ?>
    <?= $this->headTitle();?>
    <?= $this->headScript();?>
    <?= $this->headLink();?>
    <? 
    	if ( $this->ckeditor ) 
    	{
    		echo $this->headScript()->appendFile( $this->baseUrl().'/javascript/ckeditor/ckeditor.js');
    	}
	?>
    
</head>
<?php $url = new Zend_Controller_Action_Helper_Url();?>
<body>
	<div id="wrapper">
	<table id="layout" cellspacing="0" cellpadding="0" border="0">
		<colgroup>
			<col class="colone" />
			<col class="coltwo" />
		</colgroup>
		<tbody>
			<tr>
				<td id="a_header" colspan="2" valign="top" align="right">
					<div id="menu1" style="margin-top:15px;">
						<table width="200px" style="float:right; margin-right:45px;">
							<tr><td width="20px" align="center"><img src="/skins/blues/images/dot01.gif" /></td>
								<td width="50px">校园官网</td>
								<td width="20px" align="center"><img src="/skins/blues/images/dot01.gif" /></td>
								<td width="50px">学习在线</td>
							</tr>
						</table>
					</div>
					<div id="menu2">
						<table width="550px" style="float:right; margin:2px 50px 5px 0; clear:both;">
							<tr><td width="25px"><a href="http://www.beijing11.com/group/index.php">首页</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="50px"><a href="http://www.beijing11.com/group/zhuti.php?id=9">主题专区</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="60px"><a href="http://www.beijing11.com/group/blog.php">教育博客群</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="45px"><a href="http://www.beijing11.com/group/class.php?classid=195">班级圈</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="45px"><a href="http://www.beijing11.com/group/study.php?classid=194">学习圈</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="45px"><a href="http://www.beijing11.com/group/group.php?gid=15">校友圈</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="45px"><a href="http://www.beijing11.com/group/group.php?gid=14">家长圈</a></td>
								<td width="14px" align="center"><img src="/skins/blues/images/dot02.gif" /></td>
								<td width="50px">十一在线</td>
							</tr>
						</table>
					</div>
					<div id="nav" style="width:100px;margin:100px 20px 5px 0;">
    					<table width="100%">
    						<tr><td width="25px" align="right"></td></tr>
    					</table>
					</div>
				</td>
			</tr>
			<tr id="bodyrow">
				<td id="a_left">
					<div id="a_left_sub">
   						<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin-top:40px;">
							<tr><td align="center">
							<table width="70%">
								<tr>
    								<td height="30" align="center" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #8ac6c3">
    									<h3 style="color:#FFF">圈子管理</h3>
    								</td>
								</tr>
								<tr><td height="10"></td></tr>
								<tr>
									<td>
										<a href="<?= $url->simple('index', 'aqzintroduction', null);?>">
										<?php if ($this->controller == 'aqzintroduction') :?>
										<img src="/skins/blues/images/admin/main_menu_12.gif" border="0">
										<?php else:?>
										<img src="/skins/blues/images/admin/main_menu_11.gif" border="0">
										<?php endif;?></a>
									</td>
								</tr>
								<tr>
									<td>
										<a href="<?= $url->simple('index', 'aintroduction', null);?>">
									    <?php if ($this->controller == 'aintroduction') :?>
										<img src="/skins/blues/images/admin/main_menu_22.gif" border="0">
										<?php else:?>
										<img src="/skins/blues/images/admin/main_menu_21.gif" border="0">
										<?php endif;?></a>
									</td>
								</tr>
								<tr>
									<td>
										<a href="<?= $url->simple('index', 'aannouncement', null);?>">
									    <?php if ($this->controller == 'aannouncement') :?>
										<img src="/skins/blues/images/admin/main_menu_32.gif" border="0">
										<?php else :?>
										<img src="/skins/blues/images/admin/main_menu_31.gif" border="0">
										<?php endif;?></a>
									</td>
								</tr>
								<tr>
									<td>
										<a href="<?= $url->simple('index', 'ateacher', null);?>">
									    <?php if ($this->controller == 'ateacher' || $this->controller == 'astudent') :?>
										<img src="/skins/blues/images/admin/main_menu_42.gif" border="0">
										<?php else:?>
										<img src="/skins/blues/images/admin/main_menu_41.gif" border="0">
										<?php endif;?>
										</a>
									</td>
								</tr>
								<?php if ($this->controller == 'ateacher') :?>
								<tr>
    								<td height="25">
    									<div align="center" style="color:#ff6012">
    										<h4>◎&nbsp;&nbsp;教师学习管理</h4>
    									</div>
    								</td>
    							</tr>
    							<?php elseif ($this->controller == 'astudent'):?>
    							<tr>
    								<td height="25">
    									<div align="center">
    										<h4>
    										<a href="<?= $url->simple('index', 'ateacher', null);?>">
    										◎&nbsp;&nbsp;教师学习管理</a>
    										</h4>
    									</div>
    								</td>
    							</tr>
    							<?php endif;?>
								<?php if ($this->controller == 'astudent') :?>
								<tr>
									<td height="25">
										<div align="center" style="color:#ff6012">
											<h4>◎&nbsp;&nbsp;学生学习管理</h4>
										</div>
									</td>
								</tr>
								<?php elseif ($this->controller == 'ateacher'):?>
								<tr>
									<td height="25">
										<div align="center">
											<h4>
											<a href="<?= $url->simple('index', 'astudent', null);?>">
											◎&nbsp;&nbsp;学生学习管理</a>
											</h4>
										</div>
									</td>
								</tr>
								<?php endif;?>
								<tr>
									<td>
										<a href="<?= $url->simple('index', 'apicture', null);?>">
									    <?php if ($this->controller == 'apicture') :?>
										<img src="/skins/blues/images/admin/main_menu_52.gif" border="0">
										<?php else:?>
										<img src="/skins/blues/images/admin/main_menu_51.gif" border="0">
										<?php endif;?></a>
									</td>
								</tr>
							</table>
							</td></tr>
							<tr><td align="left">　　</td></tr>
							<?php if ($this->isGongTong):?>
							<tr><td>
								<table>
									<?php $url = new Zend_Controller_Action_Helper_Url();;?>
									<?php if ($this->isTeacher):?>
										<tr><td height="50"><a href="<?= $url->simple('index', 'teacher', null);?>"><img src="/skins/blues/images/gongtong/teacher-learn_select_button.gif" width="201" height="36" border=0 /></a></td></tr>
									<?php else:?>
										<tr><td height="50"><a href="<?= $url->simple('index', 'teacher', null);?>"><img src="/skins/blues/images/gongtong/teacher-learn_button.gif" width="201" height="36" border=0 /></a></td></tr>
									<?php endif;?>
									<?php if ($this->isStudent):?>
									<tr><td height="50"><a href="<?= $url->simple('index', 'student', null);?>"><img src="/skins/blues/images/gongtong/student-learn_select_button.gif" width="201" height="36" border=0 /></a></td></tr>
									<?php else :?>
									<tr><td height="50"><a href="<?= $url->simple('index', 'student', null);?>"><img src="/skins/blues/images/gongtong/student-learn_button.gif" width="201" height="36" border=0 /></a></td></tr>
									<?php endif;?>
									<tr><td></td></tr>
								</table>
							</td></tr>
							<?php endif;?>
						</table>
					</div>
					
				</td>
				<td id="right" valign="top">
					<div align="left" style="margin-top: 5px; padding-left: 20px;">
						<?= $this->nav;?>
					</div>
					<div id="layout_content">
					<?= $this->layout()->content?>&nbsp;
					</div>
				</td>
			</tr>
			<tr>
				<td id="footer" colspan="2">
					<p>校方声明 |  网站地图 | 版权所有：北京市第十一中学</p>
					<p>邮编：100050　地址：北京市崇文区金鱼池西区1号  电话：010-67023669　www.beijing11.com</p>
					<p>技术支持：北京咏怀钟鼎文化发展有限公司</p>
				</td>
			</tr>
		</tbody>
	</table>
	</div>
</body>
</html>